.class Lcom/nemustech/regina/WorkspaceBrowser$5$1;
.super Ljava/lang/Object;
.source "WorkspaceBrowser.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/WorkspaceBrowser$5;->onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

.field final synthetic val$workspace:Lcom/nemustech/regina/RGWorkspace;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/WorkspaceBrowser$5;Lcom/nemustech/regina/RGWorkspace;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 511
    iput-object p1, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

    iput-object p2, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->val$workspace:Lcom/nemustech/regina/RGWorkspace;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 4
    .parameter "object"

    .prologue
    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 515
    const-string v0, "WorkspaceBrowser"

    const-string v1, "onEffectFinishListener of mReturnToWorkspaceListener fired"

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 516
    invoke-virtual {p1}, Lcom/nemustech/tiffany/world/TFObject;->unlock()V

    .line 517
    iget-object v0, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

    iget-object v0, v0, Lcom/nemustech/regina/WorkspaceBrowser$5;->this$0:Lcom/nemustech/regina/WorkspaceBrowser;

    invoke-static {v0}, Lcom/nemustech/regina/WorkspaceBrowser;->access$300(Lcom/nemustech/regina/WorkspaceBrowser;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nemustech/regina/ReginaLauncher;->setForegroundVisibility(Z)V

    .line 518
    iget-object v0, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->val$workspace:Lcom/nemustech/regina/RGWorkspace;

    invoke-virtual {v0, v2}, Lcom/nemustech/regina/RGWorkspace;->convertToElementObjects(Z)V

    .line 519
    iget-object v0, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

    iget-object v0, v0, Lcom/nemustech/regina/WorkspaceBrowser$5;->this$0:Lcom/nemustech/regina/WorkspaceBrowser;

    invoke-static {v0}, Lcom/nemustech/regina/WorkspaceBrowser;->access$300(Lcom/nemustech/regina/WorkspaceBrowser;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/nemustech/regina/ReginaLauncher;->setViewMode(I)V

    .line 520
    iget-object v0, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

    iget-object v0, v0, Lcom/nemustech/regina/WorkspaceBrowser$5;->this$0:Lcom/nemustech/regina/WorkspaceBrowser;

    invoke-static {v0, v3}, Lcom/nemustech/regina/WorkspaceBrowser;->access$802(Lcom/nemustech/regina/WorkspaceBrowser;Z)Z

    .line 521
    iget-object v0, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

    iget-object v0, v0, Lcom/nemustech/regina/WorkspaceBrowser$5;->this$0:Lcom/nemustech/regina/WorkspaceBrowser;

    invoke-static {v0}, Lcom/nemustech/regina/WorkspaceBrowser;->access$700(Lcom/nemustech/regina/WorkspaceBrowser;)Lcom/nemustech/regina/RGWorkspaceHolder;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/nemustech/regina/RGWorkspaceHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFObject;->setVisibility(Z)V

    .line 522
    iget-object v0, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

    iget-object v0, v0, Lcom/nemustech/regina/WorkspaceBrowser$5;->this$0:Lcom/nemustech/regina/WorkspaceBrowser;

    invoke-static {v0}, Lcom/nemustech/regina/WorkspaceBrowser;->access$700(Lcom/nemustech/regina/WorkspaceBrowser;)Lcom/nemustech/regina/RGWorkspaceHolder;

    move-result-object v0

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/RGWorkspaceHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFObject;->setVisibility(Z)V

    .line 523
    iget-object v0, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

    iget-object v0, v0, Lcom/nemustech/regina/WorkspaceBrowser$5;->this$0:Lcom/nemustech/regina/WorkspaceBrowser;

    invoke-static {v0}, Lcom/nemustech/regina/WorkspaceBrowser;->access$700(Lcom/nemustech/regina/WorkspaceBrowser;)Lcom/nemustech/regina/RGWorkspaceHolder;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nemustech/regina/RGWorkspaceHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v0

    check-cast v0, Lcom/nemustech/regina/RGWorkspace;

    invoke-virtual {v0}, Lcom/nemustech/regina/RGWorkspace;->getWorkspaceView()Lcom/nemustech/regina/WorkspaceView;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nemustech/regina/WorkspaceView;->dispatchDisplayVisibility(Z)V

    .line 525
    iget-object v0, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

    iget-object v0, v0, Lcom/nemustech/regina/WorkspaceBrowser$5;->this$0:Lcom/nemustech/regina/WorkspaceBrowser;

    invoke-static {v0}, Lcom/nemustech/regina/WorkspaceBrowser;->access$900(Lcom/nemustech/regina/WorkspaceBrowser;)I

    move-result v0

    if-eqz v0, :cond_0

    .line 526
    const-string v0, "WorkspaceBrowser"

    const-string v1, "Found reserved flicking after final end"

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 527
    iget-object v0, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

    iget-object v0, v0, Lcom/nemustech/regina/WorkspaceBrowser$5;->this$0:Lcom/nemustech/regina/WorkspaceBrowser;

    invoke-static {v0}, Lcom/nemustech/regina/WorkspaceBrowser;->access$1100(Lcom/nemustech/regina/WorkspaceBrowser;)Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/nemustech/regina/WorkspaceBrowser$5$1$1;

    invoke-direct {v1, p0}, Lcom/nemustech/regina/WorkspaceBrowser$5$1$1;-><init>(Lcom/nemustech/regina/WorkspaceBrowser$5$1;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 539
    :goto_0
    return-void

    .line 537
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/WorkspaceBrowser$5$1;->this$1:Lcom/nemustech/regina/WorkspaceBrowser$5;

    iget-object v0, v0, Lcom/nemustech/regina/WorkspaceBrowser$5;->this$0:Lcom/nemustech/regina/WorkspaceBrowser;

    invoke-static {v0, v2}, Lcom/nemustech/regina/WorkspaceBrowser;->access$402(Lcom/nemustech/regina/WorkspaceBrowser;Z)Z

    goto :goto_0
.end method
